package com.hnyc.goods.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * goods-online对象 goods_online
 * 
 * @author zero
 * @date 2023-03-10
 */
public class GoodsOnline extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** sku */
    @Excel(name = "sku")
    private String sku;

    /** 线上id */
    @Excel(name = "线上id")
    private String onlineId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private String shopId;

    /** 商家id */
    @Excel(name = "商家id")
    private String merchantId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date createdAt;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date updatedAt;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String createdBy;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String updatedBy;

    /** 平台 */
    @Excel(name = "平台")
    private String onlinePlatform;

    /** 分类id */
    @Excel(name = "分类id")
    private Long categoryId;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 重量 */
    @Excel(name = "重量")
    private String weight;

    /** 长 */
    @Excel(name = "长")
    private Long pkgLen;

    /** 宽 */
    @Excel(name = "宽")
    private Long pkgW;

    /** 高 */
    @Excel(name = "高")
    private Long pkgH;

    /** 体积 */
    @Excel(name = "体积")
    private Long pkgVol;

    /** 品牌id */
    @Excel(name = "品牌id")
    private Long brandId;

    /** 品牌名 */
    @Excel(name = "品牌名")
    private String brandName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setSku(String sku) 
    {
        this.sku = sku;
    }

    public String getSku() 
    {
        return sku;
    }
    public void setOnlineId(String onlineId) 
    {
        this.onlineId = onlineId;
    }

    public String getOnlineId() 
    {
        return onlineId;
    }
    public void setShopId(String shopId) 
    {
        this.shopId = shopId;
    }

    public String getShopId() 
    {
        return shopId;
    }
    public void setMerchantId(String merchantId) 
    {
        this.merchantId = merchantId;
    }

    public String getMerchantId() 
    {
        return merchantId;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setOnlinePlatform(String onlinePlatform) 
    {
        this.onlinePlatform = onlinePlatform;
    }

    public String getOnlinePlatform() 
    {
        return onlinePlatform;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setWeight(String weight) 
    {
        this.weight = weight;
    }

    public String getWeight() 
    {
        return weight;
    }
    public void setPkgLen(Long pkgLen) 
    {
        this.pkgLen = pkgLen;
    }

    public Long getPkgLen() 
    {
        return pkgLen;
    }
    public void setPkgW(Long pkgW) 
    {
        this.pkgW = pkgW;
    }

    public Long getPkgW() 
    {
        return pkgW;
    }
    public void setPkgH(Long pkgH) 
    {
        this.pkgH = pkgH;
    }

    public Long getPkgH() 
    {
        return pkgH;
    }
    public void setPkgVol(Long pkgVol) 
    {
        this.pkgVol = pkgVol;
    }

    public Long getPkgVol() 
    {
        return pkgVol;
    }
    public void setBrandId(Long brandId) 
    {
        this.brandId = brandId;
    }

    public Long getBrandId() 
    {
        return brandId;
    }
    public void setBrandName(String brandName) 
    {
        this.brandName = brandName;
    }

    public String getBrandName() 
    {
        return brandName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodsName", getGoodsName())
            .append("sku", getSku())
            .append("onlineId", getOnlineId())
            .append("shopId", getShopId())
            .append("merchantId", getMerchantId())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("createdBy", getCreatedBy())
            .append("updatedBy", getUpdatedBy())
            .append("onlinePlatform", getOnlinePlatform())
            .append("categoryId", getCategoryId())
            .append("description", getDescription())
            .append("weight", getWeight())
            .append("pkgLen", getPkgLen())
            .append("pkgW", getPkgW())
            .append("pkgH", getPkgH())
            .append("pkgVol", getPkgVol())
            .append("brandId", getBrandId())
            .append("brandName", getBrandName())
            .toString();
    }
}
